package com.lanou.service.impl;

import com.lanou.mapper.PermissionMapper;
import com.lanou.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * Description: Hello World!
 * author: 何雨轩
 * Create at: 18/7/19 下午7:41
 */
@Service
public class PermissionServiceImpl implements PermissionService {
   @Autowired
   private PermissionMapper permissionMapper;

    @Override
    public Set<String> findByUsername(String username) {
        return permissionMapper.findByUsername(username);
    }
}
